public with sharing class Dev541_TestClass {
	
	public static testMethod void doTest()
	{
		//Dev541_mod1_sample.CodeSample();
		Dev541_mod1_governor.OutOfLimitSample(10);
		
		//Dev541_mod2_withsharing.WithsharingDemo();
		
		//Dev541_mod3_DataType.DataTypeDemo();
		//Dev541_mod3_sobject.SobjectDemo();
		//Dev541_mod3_collection.CollectionDemo();
		//Dev541_mod3_query.QueryDemo();
		
		//Dev541_mod4_sharing.SharingDemo();
		
		//
		Account a2 = new Account(name='TEST');
		Insert a2;
		a2.AnnualRevenue = -1000;
		
		try{
			Update a2;
		}catch(DmlException e)
		{
			System.debug(e.getMessage());
		}
		
		//Dev541_mod5_classlib.ClasslibDemo();
		
		DemoApexTop demo = new DemoApexTop();
		demo.doDev541_mod1_sample();
		demo.getDev541_mod1_sample();
		
		demo.getDev541_mod1_governor();
		
		demo.doDev541_mod1_withsharing();
		demo.getDev541_mod1_withsharing();
		
		demo.doDev541_mod3_DataType();
		demo.getDev541_mod3_DataType();
		
		demo.doDev541_mod3_sobject();
		demo.getDev541_mod3_sobject();
		
		demo.doDev541_mod3_collection();
		demo.getDev541_mod3_collection();
		
		demo.doDev541_mod3_query();
		demo.getDev541_mod3_query();
		
		demo.doDev541_mod4_sharing();
		demo.getDev541_mod4_sharing();
		
		demo.doDev541_mod5_classlib();
		demo.getDev541_mod5_classlib();
		
		demo.getDev541_mod6_trigger();
		
		demo.getDev541_mod7_testmethod();
	}
}